<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
    <head>
        <meta charset="utf-8">
       
    </head>
    <body>
        <form action="/admin/product" method="post" accept-charset="utf-8">
            {{csrf_field()}}
          
            请输入商品名称:<input type="text" name="productname"><br>

            请选择类型:
                <select name="typename">
                <option>类型选择</option>
                  @foreach($types as $type)
                <option>{{$type->typename}}</option>
                @endforeach
              
            </select><br>

            请输入商品价格:<input type="text" name="price"><br>
           
            请输入生产地:<input type="text" name="comp"><br>
            请输入商品简介:<input type="text" name="intro"><br>
            <input type="submit" ="提交">
        </form>
    </body>
</html>

